# $Id: PKGBUILD 142847 2011-11-17 00:38:27Z bisson $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=jfsutils
pkgver=1.1.15
pkgrel=3
pkgdesc='JFS filesystem utilities'
arch=('i686' 'x86_64')
url='http://jfs.sourceforge.net'
license=('GPL')
groups=('base')
depends=('util-linux-ng')
source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz")
sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --sbindir=/sbin 
	make
}

check() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make check
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}
